home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / backup.z / backup
Encoding:
Text File  |  2002-10-03  |  7.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. BBBBAAAACCCCKKKKUUUUPPPP((((1111MMMM))))                                                          BBBBAAAACCCCKKKKUUUUPPPP((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      backup - backup files and directories now, later, or recurring
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////bbbbaaaacccckkkkuuuupppp ----ffff _d_e_v_i_c_e ----nnnn [ ooooppppttttiiiioooonnnnssss ]
  13.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////bbbbaaaacccckkkkuuuupppp ----ffff _d_e_v_i_c_e ----llll _t_i_m_e [ ooooppppttttiiiioooonnnnssss ]
  14.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////bbbbaaaacccckkkkuuuupppp ----ffff _d_e_v_i_c_e ----dddd _t_i_m_e [ ooooppppttttiiiioooonnnnssss ]
  15.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////bbbbaaaacccckkkkuuuupppp ----ffff _d_e_v_i_c_e ----wwww _d_a_y:_t_i_m_e [ ooooppppttttiiiioooonnnnssss ]
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _b_a_c_k_u_p is a privileged command that performs a backup of the entire
  19.      system or of a selected list of files.  The backup can be performed now,
  20.      once at a later date, or recurring either daily or weekly.
  21.  
  22.      _b_a_c_k_u_p uses _c_p_i_o(1) to write its output.  _d_e_v_i_c_e would typically be a
  23.      tape device, but can also be a file for backing up to disk.
  24.  
  25.      ----nnnn is used to specify that a backup occur now, ----llll is for backups which
  26.      are occur once at a later date, ----dddd is for daily backups, and ----wwww is for
  27.      weekly backups.  Backups that occur once at a later date are scheduled
  28.      using _a_t(1), and recurring backups are scheduled using _c_r_o_n(1).
  29.  
  30.      After scheduling a later or recurring backup, _b_a_c_k_u_p prints to its output
  31.      a string which uniquely identifies this backup to the system.  This
  32.      string can be used to unschedule the backup using _u_n_s_c_h_e_d_B_a_c_k_u_p(1M).
  33.  
  34.      _b_a_c_k_u_p can be run by ordinary users without going through _r_u_n_p_r_i_v(1M).
  35.      Ordinary users cannot do full system backups, and backups made by
  36.      ordinary users will not be able to back up files that the user does not
  37.      have permission to read.
  38.  
  39.      When doing a full system backup, _b_a_c_k_u_p does not back up nfs mounted
  40.      files.  When backing up a selected list of files, _b_a_c_k_u_p does back up nfs
  41.      mounted files.
  42.  
  43. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  44.      ----ffff _d_e_v_i_c_e Specifies where the backup is to be written.  Typically this
  45.                would be a tape device such as /_d_e_v/_t_a_p_e or
  46.                _u_s_e_r@_r_e_m_o_t_e_h_o_s_t:/_d_e_v/_t_a_p_e, but can also be a file for backup to
  47.                disk.
  48.  
  49.      ----nnnn        Specifies that the backup is to occur now.
  50.  
  51.      ----llll _t_i_m_e   Specifies that the backup is to occur at _t_i_m_e.  _t_i_m_e is in
  52.                seconds since midnight Jan 1, 1970.
  53.  
  54.      ----dddd _t_i_m_e   Specifies that the backup is to occur daily.  _t_i_m_e is the
  55.                number of seconds after midnight to start the backup.
  56.  
  57.      ----wwww _d_a_y:_t_i_m_e
  58.                Specifies that the backup is to occur weekly.  _d_a_y is the
  59.                number of days after after Sunday to start the backup, and _t_i_m_e
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. BBBBAAAACCCCKKKKUUUUPPPP((((1111MMMM))))                                                          BBBBAAAACCCCKKKKUUUUPPPP((((1111MMMM))))
  71.  
  72.  
  73.  
  74.                is the number of seconds after midnight to start the backup.
  75.  
  76.      ----iiii _i_n_d_e_n_t_i_f_i_e_r
  77.                _i_d_e_n_t_i_f_i_e_r is to be associated with this backup.  _i_d_e_n_t_i_f_i_e_r is
  78.                displayed in the _B_a_c_k_u_p_A_n_d_R_e_s_t_o_r_e_M_a_n_a_g_e_r(1M) along with the
  79.                icon for this backup.
  80.  
  81.      ----vvvv        Output of the backup is to be verbose.  Specifying ----vvvv to _b_a_c_k_u_p
  82.                causes vvvv to be included as an option to _c_p_i_o(1).
  83.  
  84.      ----mmmm _e_m_a_i_l-_a_d_d_r_e_s_s
  85.                For later and recurring backups, send a backup report to
  86.                _e_m_a_i_l-_a_d_d_r_e_s_s.  If ----vvvv was specified, this will include a list
  87.                of the files which were backed up.  If this option is not
  88.                specified, the user that scheduled the backup will receive mail
  89.                from _c_r_o_n.
  90.  
  91.      ----ssss _s_o_u_r_c_e _s_o_u_r_c_e is a file containing a list of files to be backed up,
  92.                one per line.  These can either be full paths, or can be
  93.                relative to the root specified with the ----rrrr option.  If the ----ssss
  94.                option is not specified, this will be a full system backup.
  95.  
  96.      ----rrrr _r_o_o_t   Specify that the backup should be relative to _r_o_o_t.  This has
  97.                no effect unless the paths in _s_o_u_r_c_e are relative, and never
  98.                has an effect on full backups.
  99.  
  100. FFFFIIIILLLLEEEESSSS
  101.      /var/sysadm/backups/*    File lists for later and recurring backups
  102.                               scheduled by root.
  103.      $HOME/.saBackupLists/*   File lists for later and recurring backups
  104.                               scheduled by non-root users.
  105.      $HOME/.saBackupSched/*   Information about later backups for the
  106.                               _B_a_c_k_u_p_A_n_d_R_e_s_t_o_r_e_M_a_n_a_g_e_r(1M).  This duplicates
  107.                               information stored by _a_t(1) which is not
  108.                               readable by non-root users and difficult to
  109.                               parse.  Information about recurring backups is
  110.                               retrieved using _c_r_o_n_t_a_b(1).
  111.  
  112. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  113.      cpio(1), cpio(1), cron(1), at(1), crontab(1), sysmgr(1M),
  114.      BackupAndRestoreManager(1M), restore(1M), unschedBackup(1M).
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.